package com.mdz.nc.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2020-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qrtz_job_details")
public class QrtzJobDetails extends Model<QrtzJobDetails> {

    private static final long serialVersionUID=1L;

    @TableId(value = "sched_name", type = IdType.AUTO)
    private String schedName;

    @TableField("job_name")
    private String jobName;

    @TableField("job_group")
    private String jobGroup;

    @TableField("description")
    private String description;

    @TableField("job_class_name")
    private String jobClassName;

    @TableField("is_durable")
    private String isDurable;

    @TableField("is_nonconcurrent")
    private String isNonconcurrent;

    @TableField("is_update_data")
    private String isUpdateData;

    @TableField("requests_recovery")
    private String requestsRecovery;

    @TableField("job_data")
    private byte[] jobData;


    @Override
    protected Serializable pkVal() {
        return this.schedName;
    }

}
